<?php
  $version = '0.01';
?>
<html>
  <head>
    <title><?php echo getenv('title')?> Catalog Search</title>
    <link rel="stylesheet" type="text/css" href="./js/ext-3.3.0/resources/css/ext-all.css"/>
    <link rel="stylesheet" type="text/css" href="style.css?<?php echo $version?>"/>
  </head>
  <body onload="Ext.onReady(function(){init()})">
    <div id="loading-mask"></div>
    <div id="loading">
      <span id="loading-message">Loading core API. Please wait...</span>
    </div>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="./js/ext-3.3.0/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="./js/ext-3.3.0/ext-all.js"></script>
    <script type="text/javascript" src="./js/ext-3.3.0/SearchField.js"></script>
    <script type="text/javascript" src="./js/OpenLayers-2.12-rc7/OpenLayers-closure.js"></script>
    <link rel="stylesheet" type="text/css" href="./js/OpenLayers-2.12-rc7/theme/default/google.css"/>
    <script type="text/javascript" src="./js/dateFormat.js"></script>
    <script>
      var catalogUrl;
      var xsl;
      var xml;
      var mapCenterAndZoom;
    </script>
    <script type="text/javascript" src="config/<?php echo getenv('configJs')?>?<?php echo $version?>"></script>
    <script type="text/javascript" src="map.js?<?php echo $version?>"></script>
  </body>
</html>
